#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <cmath>
using namespace std;

int main()
{
    int n = 0;
    cin >> n;
    bool flag = false;
    int i = 0;
    int x = 0;
    while (n > 0)
    {
        if (n % 10 % 2 != 0) x += pow(10, i);
        n /= 10;
        i++;
    }
    cout << x << endl;
    return 0;
}